
import java.io.Serializable;
import java.rmi.RemoteException;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



/**
 *
 * @author dtuanh
 */
public class EntityImpl implements Entity,Serializable{
     private static final long serialVersionUID = 927L;
public WordImpl word;
public Word myEntry() throws RemoteException {
        return word;
    }

    public WordImpl getEntry()
    {
        return (WordImpl)word;
    }
    public void setEntry(Word w)
    {
        this.word=(WordImpl)w;
    }

    private String definition;
    public String myDefinition() throws RemoteException {
    return definition;
    }
    public String getDefinition()
    {
        return definition;
    }
    public void setDefinition(String def)
    {
        this.definition=def;
    }


}
